<?php
class Venta extends Eloquent{
	protected $table='ventas';
public function gettotalAttribute($value)
	{
	  return number_format ($value, 2, '.','');
	}
	public function gettotalbrutoAttribute($value){
		return number_format($value,2,'.','');
	}
}